<script setup lang="ts">

interface Props {
  rows?: number
  noCss?:boolean
}

const props = defineProps<Props>()
const {rows = 1} = props

</script>

<template>
  <a-typography-text :ellipsis="{rows: rows, css: !props.noCss}">
    <slot></slot>
  </a-typography-text>
</template>